class User():
    def __init__(self, first_name, last_name):
        self.first = first_name
        self.last = last_name
        self.grades = 100
        self.login_attempts = 0  # 尝试次数

    def increment_login_attempts(self):
        self.login_attempts += 1
        return self.login_attempts

    def reset_login_attemps(self):
        self.login_attempts = 0
        return self.login_attempts

